using System;
using System.Collections.Generic;
using System.Text;

namespace SpecificationPatternDemo
{
    class Program
    {
        static void Main(string[] args)
        {
            ISpecification _spec = new CompositeSpecification()
                                    .And(new CompositeSpecification())
                                    .Or(new CompositeSpecification())
                                    .Not(new CompositeSpecification());

            Console.Read();
        }
    }
}
